package com.ycg.biquge.mapper;

import com.ycg.biquge.pojo.BookCase;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
* @author lenovo
* @description 针对表【book_case(书架表)】的数据库操作Mapper
* @createDate 2024-04-30 20:20:39
* @Entity com.ycg.biquge.pojo.BookCase
*/
public interface BookCaseMapper extends BaseMapper<BookCase> {

    /**
     * 更新书架最新读到的章节
     * @param bookCase 小说id, 最新id 最新章节
     * @param userId 用户id
     */
    void updateNew(@Param("bookcase") BookCase bookCase, @Param("userId") Integer userId);
}




